package org.user.pojo;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer sex;
	private String name;
	private Integer money;
	private Integer graph;
	private String pnum;
	private String email;
	private String password;
	private Integer type;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** full constructor */
	public User(Integer sex, String name, Integer money, Integer graph,
			String pnum, String email, String password, Integer type) {
		this.sex = sex;
		this.name = name;
		this.money = money;
		this.graph = graph;
		this.pnum = pnum;
		this.email = email;
		this.password = password;
		this.type = type;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getMoney() {
		return this.money;
	}

	public void setMoney(Integer money) {
		this.money = money;
	}

	public Integer getGraph() {
		return this.graph;
	}

	public void setGraph(Integer graph) {
		this.graph = graph;
	}

	public String getPnum() {
		return this.pnum;
	}

	public void setPnum(String pnum) {
		this.pnum = pnum;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}